# -*- coding: utf-8 -*-
# @Time        :2025/4/13 9:58
# @Author      :文刀水寿
# @File        : spider.py
"""
 @Description :
"""
import requests

# res = requests.get('http://127.0.0.1:5000/hello')
# print(res.json())
# res = requests.post('http://127.0.0.1:5000/hello')
# print(res.text)
# res = requests.put('http://127.0.0.1:5000/hello')
# print(res.text)
# res = requests.delete('http://127.0.0.1:5000/hello')
# print(res.text)
res = requests.get('http://127.0.0.1:5000/user4',
                   headers={'Content-Type': 'application/json'},
                   json={'name': 'lisi'})
print(res.text)


